﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace mozhi.smarterp.AuthorCenter.Departments
{
    public interface IDepartmentAppService
    {
        Task<List<DepartmentDto>> GetListAsync(DepartmentFilter filter);

        Task<DepartmentDto> GetAsync(Guid id);

        Task<DepartmentDto> CreateAsync(DepartmentCreateDto input);

        Task<DepartmentDto> UpdateAsync(DepartmentUpdateDto input);

        Task DeleteAsync(Guid id);
    }
}
